﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using VoiceAI;
using VoiceAI.VoiceResponse;

namespace Xiaowei.ResponseHandlers
{
    class IOTResponseHandle
    {
        public static void Handle(IResponseData responseData)
        {
            if (responseData is IIOTResponseData iotResponseData)
            {
                Services.IOTService.Instance.ResetIOTData(iotResponseData);
            }
            DefaultResponseHandler.Handle(responseData);
        }

    }
}
